home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / networking / rpcdemo / rminfo_xdr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  550 b   |  32 lines

  1. /*
  2.  * Please do not edit this file.
  3.  * It was generated using rpcgen.
  4.  */
  5.  
  6. #include <rpc/rpc.h>
  7. #include "rminfo.h"
  8.  
  9. bool_t
  10. xdr_rminfo1(XDR *xdrs, rminfo1 *objp)
  11. {
  12.     if (!xdr_long(xdrs, &objp->freemem)) {
  13.         return (FALSE);
  14.     }
  15.     if (!xdr_long(xdrs, &objp->availsmem)) {
  16.         return (FALSE);
  17.     }
  18.     if (!xdr_long(xdrs, &objp->availrmem)) {
  19.         return (FALSE);
  20.     }
  21.     if (!xdr_long(xdrs, &objp->bufmem)) {
  22.         return (FALSE);
  23.     }
  24.     if (!xdr_long(xdrs, &objp->physmem)) {
  25.         return (FALSE);
  26.     }
  27.     if (!xdr_long(xdrs, &objp->delwri)) {
  28.         return (FALSE);
  29.     }
  30.     return (TRUE);
  31. }
  32.